package com.google.code.p.restrpc.client.cluster;

public enum FailureRecovery {
    
    FailOver("failover"),
    FailFast("failfast"),
    FailSafe("failsafe"),
    FailBack("failback");
    
    private String value;
    
    FailureRecovery(String value) {
        this.value = value;
    }
    
    public String value() {
        return this.value;
    }
    
    @Override
    public String toString() {
        return FailureRecovery.class.getName() + "." + this.value;
    }
    
    
    public static void main(String[] args) {
        System.out.println(FailureRecovery.valueOf("test"));
    }
}
